import Enum from './Enum';

/**
 * OSS导入任务的状态
 */
export const taskStatus = new Enum([
    ['upload-ing', '导入中'],
    ['upload-success', '导入成功'],
    ['upload-fail', '导入失败'],
    ['check-ing', '校验中'],
    ['check-success', '校验成功'],
    ['check-fail', '校验失败'],
]);

/**
 * OSS导入任务的类型
 */
export const taskTypes = new Enum([
    ['add', '新增'],
    ['update', '更新'],
]);

/**
 * 操作日志类型（OSS导入任务）
 */
export const operationLogTypes = new Enum([
    ['importTask', '导入'],
    ['downloadTask', '下载'],
    ['deleteTask', '删除'],
]);
